package cn.iocoder.yudao.module.picturebook.controller.admin.classcheckin.vo;

import cn.iocoder.yudao.module.picturebook.dal.dataobject.book.BookDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 班级打卡记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ClassCheckinRespVO {

    @Schema(description = "打卡ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9929")
    @ExcelProperty("打卡ID")
    private Long id;

    @Schema(description = "关联班级", requiredMode = Schema.RequiredMode.REQUIRED, example = "32677")
    @ExcelProperty("关联班级")
    private Long classId;

    @Schema(description = "关联用户", requiredMode = Schema.RequiredMode.REQUIRED, example = "4462")
    @ExcelProperty("关联用户")
    private Long userId;

    @Schema(description = "打卡日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("打卡日期")
    private LocalDate checkinDate;

    @Schema(description = "关联书籍", example = "14105")
    @ExcelProperty("关联书籍")
    private List<BookDO> books;

    @Schema(description = "阅读心得")
    @ExcelProperty("阅读心得")
    private String content;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}